home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Labor & Property / ProOne: Labor & Property.iso / progfile.sfs / CUSTOM.RUL < prev    next >
Text File  |  1997-05-02  |  12KB  |  301 lines

  1. /*----------------------------------------------------------------------------*\
  2.  *  Custom.RUL
  3.  *  Sofsource Installation Package:  Program-Specific Declarations.
  4.  *  Copyright (c) 1995-1996 Sofsource, Inc.  All rights  reserved.
  5.  *  Setup script written by:  Bob Falk
  6.  *------------------------------------------------------------------------------
  7.  *  Program-specific declarations for:  Business Law Library
  8.  *                                      (CD #3 of a 4-CD set)
  9.  *                    Last updated on:  05/02/97
  10.  *  Revision Info:
  11.  *    $Revision:   1.0  $
  12.  *    $Date:   17 Feb 1997 00:15:44  $
  13. \*----------------------------------------------------------------------------*/
  14.  
  15. //=================================================================================================
  16. // The following are used in the Windows 95 Registry:
  17. //
  18. // Windows 3.x and NT NOTES:
  19. //   COMPANY_NAME, PRODUCT_NAME, and PRODUCT_VERSION are used in the [Application] section
  20. //   of SETUP.LOG files (when used).
  21. //
  22. // Windows 95 NOTES:
  23. //   COMPANY_NAME           = Used in Application Information Key
  24. //   PRODUCT_NAME           = Used in Application Information Key, also used in the screen caption,
  25. //                            several message boxes, error messages, and the log file.
  26. //   PRODUCT_VERSION        = Used in Application Information Key
  27. //   APP_PATHS_KEY_EXENAMES = Used in the Per Application Paths key.  Use ONLY ONE EXE name, UNLESS
  28. //                            the EXEs are all in the same subdirectory.  If not in the same subdir
  29. //                            then only the first EXE will have an App Paths key, and it must be the
  30. //                            same as EXE_FILENAME_1 (below).
  31. //                            The Registry can handle more, but InstallShield cannot.
  32. //   DEINSTALL_KEY          = Used in the Application Uninstallation Key
  33. //   The "Add/Remove Programs" applet, in the Windows 95 Control Panel folder, will list
  34. //   (as [DisplayName]) the program as a combination of PRODUCT_NAME + ' v' + PRODUCT_VERSION.
  35. //
  36. #define COMPANY_NAME           "Sofsource, Inc."
  37. #define PRODUCT_NAME           "Business Law Library, CD 3"
  38. #define PRODUCT_VERSION        "1.05"
  39. #define APP_PATHS_KEY_EXENAMES "BLLCD316.EXE;BLLCD332.EXE"
  40. #define DEINSTALL_KEY          "Sof921607Ver105DeinstKey"
  41.   // Used as:  InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, APP_PATHS_KEY_EXENAMES );
  42.   //           RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME + ' v' + PRODUCT_VERSION );
  43.   //           DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
  44.  
  45. // The EXTRAICONS_APP_NAME is used for icons related to the main program, such as for READ.ME files.
  46. // The icon title might be something like "WC Encyclopedia Read Me" rather than the ridiculously
  47. // long "Webster's Concise Encyclopedia Read Me".  If the PRODUCT_NAME is less than about 18 characters
  48. // in length, then EXTRAICONS_APP_NAME should be the same as PRODUCT_NAME.  In Windows 95, any title
  49. // longer than 17 characters will appear with ellipses (...).
  50. //                      !!! |-----------------| 17 chars max length !!!
  51. #define EXTRAICONS_APP_NAME "Business Law Lib"
  52. //#define EXTRAICONS_APP_NAME PRODUCT_NAME
  53.  
  54. //----- Base (Default) Destination Paths:
  55. #define APPBASE_PATH3X      "SOFSRC\\BLAWLIB\\"
  56. #define APPBASE_PATH95      "Sofsource\\Business Law Library\\"
  57.  
  58.  
  59. //----- Define the items that MUST match LAUNCHER.PAS:
  60. //        Windows 95.  This will typically be "C:\Sofsource" and will always be on the same
  61. //        drive as Windows 95 itself, regardless of the installation target (destination).
  62. // This also must match the cSectionName in LAUNCHER.PAS.
  63. // This should be 70-characters max.  If longer, you'll need to edit the Perm Setup Log details.
  64. #define PROGRAM_FOLDER_NAME     "Sofsource"
  65. //#define PROGRAM_FOLDER_NAME     "Premier"
  66. #define APP_UPC_CODE        "92160-7"
  67.   // APP_UPC_CODE 30-chars max.  If longer, you'll need to edit the Perm Setup Log details.
  68. #define PRODUCT_ID_FILENAME "ID921607.ID_"
  69.  
  70.  
  71. //=================================================================================================
  72. #define NUM_EXES_PRESENT 1
  73.   // Set the above to the number of executable files
  74.   // belonging to the product, FOR WHICH ICONS WILL BE MADE
  75.   // *** Use "-1" when WINHELP.EXE should execute a HLP file INSTEAD OF AN EXE ***
  76.   // *** Use "-1" when there is no executable, only a help file ***
  77.  
  78. //#define NEEDS_HELPFILE_ICON 1
  79.   // Define the above if WINHELP.EXE should execute a HLP file
  80.   // IN ADDITION TO the normal EXE file handling (above).
  81.   // Use this when there is both an executable(s) AND a HLP file.
  82.  
  83.  
  84. #define SPECIAL_CASE_16AND32BOTH 1
  85.   // Define the above if this program has both a 16 and 32-bit EXE on the CD.
  86.  
  87. #define SPECIAL_CONDITIONAL_FILES 1
  88.   // Define the above if there are special files in "\PgCndtnl\" that should only
  89.   // be installed into the program directory if they are not already present.
  90.  
  91. #ifdef SPECIAL_CONDITIONAL_FILES
  92.     #define CONDFILE_COMPPATH  "PGCNDTNL\\"
  93.     #define CONDFILE_SIZE  5120
  94.     #define NUM_CONDITIONAL_FILES 3
  95.     #ifdef NUM_CONDITIONAL_FILES >= 1
  96.         #define CONDFILE1_NAME "BLAWUSER.DBF"
  97.     #endif
  98.     #ifdef NUM_CONDITIONAL_FILES >= 2
  99.         #define CONDFILE2_NAME "BLAWUSER.NSX"
  100.     #endif
  101.     #ifdef NUM_CONDITIONAL_FILES >= 3
  102.         #define CONDFILE3_NAME "BLAWUSER.SMT"
  103.     #endif
  104. #endif
  105.  
  106. //=================================================================================================
  107. // Documentation/READ-ME file definitions:
  108.  
  109. // Define the following if a README file is present
  110. #define DOCUMENTATION_PRESENT 1
  111. #ifdef DOCUMENTATION_PRESENT
  112.     #define DOC_FILE_NAME "README.TXT"
  113.     #define DOC_ICON_NAME '"BLawLib Read Me"'
  114. #endif
  115.   // NOTE:  For Icon Names, single-quotes enclose the double-quotes.  This doesn't matter
  116.   //        under Windows 95, but is important under Windows 3.x and NT.  In the latter cases,
  117.   //        without the extra single quotes, you could not use special characters (such as
  118.   //        commas or parentheses) in the name.  Of course, now you'll need to use an
  119.   //        Escape Sequence to place a single quote in the name (i.e. "\'" instead of "'").
  120.  
  121. //=================================================================================================
  122. // Executable and Icon File Definitions:
  123.  
  124. #ifdef NUM_EXES_PRESENT >= 1
  125. // In Windows 95 only the first 17 chars appear, remaining chars are replaced with ellipses (...)
  126. //                        !!! |-----------------| 17 chars max length
  127.     #define PROGICON_NAME_1 '"Labor and Property"'
  128.     #ifdef SPECIAL_CASE_16AND32BOTH
  129.         #define EXE_FILENAME16_1  "BLLCD316.EXE"
  130.         #define ICON_FILENAME16_1 "BLAWLIB3.ICO"
  131.         #define EXE_FILENAME32_1  "BLLCD332.EXE"
  132.         #define ICON_FILENAME32_1 "BLAWLIB3.ICO"
  133.     #else
  134.         #define EXE_FILENAME_1  "?.EXE"
  135.         #define ICON_FILENAME_1 "?.ICO"
  136.     #endif
  137. #endif
  138. #ifdef NUM_EXES_PRESENT >= 2
  139.     #define PROGICON_NAME_2 '""'
  140.     #define EXE_FILENAME_2  ""
  141.     #define ICON_FILENAME_2 ""
  142. #endif
  143. #ifdef NUM_EXES_PRESENT >= 3
  144.     #define PROGICON_NAME_3 '""'
  145.     #define EXE_FILENAME_3  ""
  146.     #define ICON_FILENAME_3 ""
  147. #endif
  148. #ifdef NUM_EXES_PRESENT >= 4
  149.     #define PROGICON_NAME_4 '""'
  150.     #define EXE_FILENAME_4  ""
  151.     #define ICON_FILENAME_4 ""
  152. #endif
  153. #ifdef NUM_EXES_PRESENT = -1
  154.     #define HELP_NAME_1 '"???"'
  155.     #define HLP_FILE_1  "???.HLP"
  156. #endif
  157. #ifdef NEEDS_HELPFILE_ICON
  158.     #define HELP_NAME_1 '"??? Help"'
  159.     #define HLP_FILE_1  "???.HLP"
  160. #endif
  161.  
  162.  
  163. //=================================================================================================
  164. // Special Case Involving Running From CD-ROM
  165.  
  166. #define CDROM_ALWAYS_REQUIRED 1
  167.   // Define the above if the CD-ROM must always be inserted to use the program
  168.  
  169.  
  170. #define EXE_RUN_FROM_CDROM 1
  171.   // Define the above if the EXE is started from the CD-ROM
  172.  
  173. #ifdef EXE_RUN_FROM_CDROM
  174.     #ifdef NUM_EXES_PRESENT >= 1
  175.         #define SRC_PATH_1_ON_CDROM "\\LawLib\\"  // Always terminate with a backslash
  176.     #endif
  177.     #ifdef NUM_EXES_PRESENT >= 2
  178.         #define SRC_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  179.     #endif
  180.     #ifdef NUM_EXES_PRESENT >= 3
  181.         #define SRC_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  182.     #endif
  183.     #ifdef NUM_EXES_PRESENT >= 4
  184.         #define SRC_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  185.     #endif
  186. #endif
  187.  
  188.  
  189. #define WORKING_DIR_ON_CDROM 1
  190.   // Define the above if the working directory should be on the CD-ROM
  191.   // otherwise the working directory will be the installation target directory
  192.  
  193. #ifdef WORKING_DIR_ON_CDROM
  194.     #ifdef NUM_EXES_PRESENT >= 1
  195.         #define WORK_PATH_1_ON_CDROM "\\LawLib\\"  // Always terminate with a backslash
  196.     #endif
  197.     #ifdef NUM_EXES_PRESENT >= 2
  198.         #define WORK_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  199.     #endif
  200.     #ifdef NUM_EXES_PRESENT >= 3
  201.         #define WORK_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  202.     #endif
  203.     #ifdef NUM_EXES_PRESENT >= 4
  204.         #define WORK_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  205.     #endif
  206. #endif
  207.  
  208.  
  209. //=================================================================================================
  210. //----- SPECIAL-CASE Definitions:
  211.  
  212. //#define REQUIRES_INI_FILE_ENTRIES 1
  213.   // Define the above if special INI file entries need to be made
  214.  
  215. //#define REQUIRES_FONT_ENTRY_IN_WININI 1
  216.   // Define the above if this is an old program which will not find it's fonts
  217.   // unless they are duplicated in WIN.INI under Windows 95 and Windows NT.
  218.   // Such fonts will still be properly installed in the registry.
  219.  
  220. // The special-case is on the CD-ROM version only, not the diskette version:
  221. #ifdef EXE_RUN_FROM_CDROM
  222.     //#define SPECIAL_CASE_TERM_PAPER 1
  223.       // Define the above if this is Term Paper (CD-ROM Full or Brain-Damaged Version)
  224.       // Also define REQUIRES_INI_FILE_ENTRIES
  225.  
  226.     //#define SPECIAL_CASE_BOOK_REPORT 1
  227.       // Define the above if this is Book Report (CD-ROM Full or Brain-Damaged Version)
  228.       // Also define REQUIRES_INI_FILE_ENTRIES
  229. #endif
  230.  
  231. //#define SPECIAL_CASE_RESUME 1
  232.   // Define the above if this is Windows Resume
  233.   // Also define REQUIRES_INI_FILE_ENTRIES
  234.  
  235. //#define SPECIAL_CASE_MM_TRIVIA 1
  236.   // Define the above if this is Multimedia Trivia
  237.  
  238. //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
  239.   // Define the above if this is Windows Made Easy
  240.  
  241. //#define SPECIAL_CASE_TYPING_TEACHER 1
  242.   // Define the above if this is Multimedia Typing Teacher
  243.  
  244. //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
  245.   // Define the above if this is Easy Tutorial for Windows 95
  246.  
  247. //#define SPECIAL_CASE_OFFICE_SUITE 1
  248.   // Define the above if this is Office Suite
  249.  
  250. //#define SPECIAL_CASE_3DIT
  251.   // Define the above if this is 3D-It
  252.   // Also define REQUIRES_INI_FILE_ENTRIES
  253.  
  254. //#define SPECIAL_CASE_WEBSTERS_HME95 1
  255.   // Define the above if this is Webster's Concise Encyclopedia 1995 edition
  256.   // Also define REQUIRES_INI_FILE_ENTRIES
  257.  
  258.  
  259. //=================================================================================================
  260. // Requirements definitions:
  261.  
  262.   //----- VIDEO FOR WINDOWS:
  263.   //
  264. #define REQUIRES_VFW 1
  265.   // Define the above if Video For Windows is required
  266.  
  267.  
  268.   //----- Speaker Driver
  269.   //
  270. //#define REQUIRES_SPEAKER_DRIVER 1
  271.   // Define the above if the speaker driver should be installed
  272.  
  273.  
  274.   //----- Processor requirements (overridden by VFW):
  275. #ifdef REQUIRES_VFW
  276.     #define REQUIRES_80386 1
  277. #else
  278.       //--- CPU REQUIREMENTS:
  279.       //
  280.     //#define REQUIRES_80286   1
  281.     #define REQUIRES_80386   1
  282.     //#define REQUIRES_80486   1
  283.     //#define REQUIRES_PENTIUM 1
  284. #endif
  285.  
  286.  
  287. //#define REQUIRES_WINDOWS95      1
  288.   // Define the above if Windows 95 is required.
  289.   // If Windows 95 is required, then define the following if
  290.   // the program will also run under Windows NT and/or Win32s.
  291.   // APP_IS_32BIT should be defined for 32-bit programs (this
  292.   // is intended for future use).
  293.  
  294. #ifdef REQUIRES_WINDOWS95
  295.     #define OK_WINDOWSNT 1
  296.     //#define OK_WIN32S    1
  297.     //#define APP_IS_32BIT 1
  298. #endif
  299.  
  300. // eof CUSTOM.RUL
  301.